package com.example.desinger.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.desinger.common.R;
import com.example.desinger.entity.HomeWork;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface HomeWorkService extends IService<HomeWork> {



    R<String> saveAndProfile(HomeWork homeWork);

    R<String> uploadFile(MultipartFile file, int stuId, int classId, int homeWorkId);

    List<HomeWork> findById(int classId);

    R<String> delectHomeWordById(int id);
}
